<?php
class Db{
	static $_instance;
	private $db;
	private $app;
	private function __construct(){
		$this->app = Basic::app();
		$config = $this->app->getConfigs();
	}

	public static function get_instance(){
		$config = $this->app->getConfigs();
		if(! self instanceof Db){
			self::$_instance = new self();
		}
		return self::$_instance;
	}


}